Skip to content

Conversation

@Douglasdc3
Copy link
Contributor

When creating a field in MySQL based database and you add apostrophe it
creates invalid SQL statement.

Fix: call addslashes method which escapes apostrophe in the SQL
statement

When creating a field in MySQL based database and you add apostrophe it
creates invalid SQL statement.

Fix: call addslashes method which escapes apostrophe in the SQL
statement
@taylorotwell taylorotwell merged commit 4ba77d0 into laravel:5.4 Jun 28, 2017
@Douglasdc3 Douglasdc3 deleted the bugfix/19779-escape-comments-in-migration branch June 28, 2017 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants